<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增手持机管理')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-handsetinfo-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">IMEI编号：</label>
                <div class="col-sm-8">
                    <input name="imei" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">导出状态：</label>
                <div class="col-sm-8">
                    <select name="status" class="form-control m-b" >
                        <option value="未导出">未导出</option>
                        <option value="已导出">已导出</option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">导入excel表时间：</label>
                <div class="col-sm-8">
                    <input name="importExcelTime" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">导入仙豆时间：</label>
                <div class="col-sm-8">
                    <input name="importXiandouTime" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">专营店编码：</label>
                <div class="col-sm-8">
                    <input name="dealerCode" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">专营店名称：</label>
                <div class="col-sm-8">
                    <input name="dealerName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">供应商编号：</label>
                <div class="col-sm-8">
                    <input name="supplierCode" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">供应商名称：</label>
                <div class="col-sm-8">
                    <input name="supplierName" class="form-control" type="text">
                </div>
            </div>

        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "handsetinfo/handsetinfo"
        $("#form-handsetinfo-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-handsetinfo-add').serialize());
            }
        }
    </script>
</body>
</html>